TUTOR\Utils D

Total Complexity 624
Dependencies 9
Dependents 2
Total lines 7,085
Lines of code 4,264
Logical lines of code 1,673
Comment lines 1,909
Methods 232
Properties 0

Methods 232

Method Rating Maintainability Complexity Lines of code
get_course_id_by()
A
38 13 86
get_earning_statements()
A
40 12 62
get_course_completed_percent()
A
50 10 28
get_video_info()
A
46 9 36
get_course_previous_content_id()
A
49 9 30
get_withdrawals_history()
A
42 7 56
get_assignments_by_instructor()
A
43 7 52
languages()
A
29 1 140
get_attachments()
A
44 7 46
has_video_in_single()
A
57 9 15
get_option()
A
52 8 25
get_earning_sum()
A
43 6 52
get_course_first_lesson()
A
47 7 36
get_random_questions_by_quiz()
A
48 7 34
get_qa_questions()
S
40 4 68
do_enroll()
S
46 6 38
user_profile_completion()
S
47 6 35
get_ip()
S
57 7 18
has_enrolled_content_access()
S
56 7 17
tutor_dashboard_nav_ui_items()
S
59 7 14
get_course_prev_next_contents_by_id()
S
52 6 24
get_course_rating()
S
43 4 54
get_total_qa_question()
S
43 4 51
get_instructors()
S
44 4 51
get_raw_course_price()
S
55 6 19
unanswered_question_count()
S
44 4 48
let_to_num()
S
57 6 18
complete_course_enroll()
S
58 6 15
is_course_added_to_cart()
S
58 6 15
get_quiz_attempt()
S
51 5 26
cancel_course_enrol()
S
52 5 24
is_instructor_of_this_course()
S
55 5 22
star_rating_generator()
S
54 5 21
get_tutor_avatar()
S
54 5 18
get_earning_chart()
S
44 3 48
get_course_price()
S
57 5 17
get_lesson_type_icon()
S
58 5 16
get_answers_by_quiz_question()
S
51 4 31
get_completed_lesson_count_by_course()
S
50 4 31
can_user_manage()
S
57 5 16
avalue_dot()
S
58 5 16
sanitize_array()
S
59 5 15
get_quiz_option()
S
61 5 12
currency_symbol()
S
61 5 12
get_reviews_by_instructor()
S
43 2 54
get_course_enrolled_ids_by_order_id()
S
53 4 24
playtime_array()
S
54 4 22
get_instructors_by_course()
S
50 3 36
get_quiz_answers_by_ids()
S
55 4 21
tutor_dashboard_pages()
S
47 3 33
get_course_by_quiz()
S
57 4 17
get_rating_value()
S
58 4 16
get_orders_by_user_id()
S
50 3 31
get_unique_slug()
S
56 4 16
is_completed_course()
S
52 3 29
is_enrolled()
S
52 3 29
tutor_pages()
S
50 3 28
get_pages()
S
61 4 12
get_assignment_option()
S
61 4 12
has_any_enrolled()
S
54 3 26
most_rated_courses()
S
54 3 25
get_attached_quiz()
S
55 3 22
profile_url()
S
55 3 21
get_earning_chart_yearly()
S
47 2 35
quiz_ended_attempts()
S
56 3 20
get_quiz_answer_options_by_question()
S
56 3 19
get_course_by_enrol_id()
S
57 3 19
get_assignments_by_course()
S
50 2 34
get_db_version()
S
57 3 18
quiz_attempts()
S
57 3 18
get_top_question()
S
49 2 33
get_instructor_ratings()
S
50 2 32
course_progress_status_context()
S
57 3 17
course_levels()
S
58 3 16
instructor_status()
S
57 3 16
get_all_quiz_attempts_by_user()
S
59 3 16
get_course_rating_by_user()
S
50 2 31
get_questions_by_quiz()
S
59 3 16
is_tutor_dashboard()
S
67 4 7
has_user_role()
S
65 4 8
checking_nonce()
S
67 4 6
playtime_string()
S
63 4 8
seconds_to_time_context()
S
63 4 8
get_flash_msg()
S
58 3 15
user_profile_permalinks()
S
59 3 14
set_flash_msg()
S
58 3 14
get_courses_by_instructor()
S
51 2 28
get_courses()
S
52 2 28
get_qa_answer_by_answer_id()
S
53 2 28
get_assignment_deadline_date()
S
60 3 12
get_lesson_count_by_course()
S
52 2 27
has_lesson_edit_access()
S
61 3 12
get_course_id_by_lesson()
S
63 3 11
get_youtube_video_id()
S
63 3 11
is_course_purchasable()
S
63 3 11
get_rating_by_id()
S
53 2 25
get_enrolment_by_enrol_id()
S
55 2 25
get_answer_by_id()
S
55 2 21
get_enrolments()
S
51 1 34
is_wishlisted()
S
57 2 19
get_reviews_by_user()
S
50 1 33
get_question_types()
S
54 2 18
get_active_courses_by_user()
S
57 2 17
get_enrolled_courses_by_user()
S
58 2 16
max_questions_for_take_quiz()
S
58 2 16
count()
S
71 3 6
get_user_id()
S
67 3 9
update_video()
S
70 3 6
get_quiz_question_by_id()
S
60 2 15
get_post_id()
S
67 3 9
tutor_user_social_icons()
S
51 1 30
get_addon_config()
S
64 3 10
update_lesson_reading_info()
S
64 3 9
tutor_price()
S
65 3 9
input_old()
S
65 3 10
get_vimeo_video_id()
S
67 3 8
get_course_reviews()
S
51 1 30
get_tutor_dashboard_page_permalink()
S
65 3 9
is_tutor_frontend_dashboard()
S
66 3 8
course_archive_page_url()
S
65 3 9
get_courses_by_user()
S
59 2 15
get_cover_photo_url()
S
64 3 9
get_single_comment_user_post_id()
S
60 2 15
array_only()
S
70 3 6
has_pmpro()
S
68 3 6
get_course_categories()
S
59 2 14
get_attempt()
S
61 2 14
get_quiz_attempts_by_course_ids()
S
51 1 29
get_course_tags()
S
61 2 13
get_qa_question()
S
51 1 28
add_instructor_role()
S
61 2 12
remove_instructor_role()
S
62 2 11
get_video_stream_url()
S
62 2 11
get_package_object()
S
62 2 11
get_next_course_content_order_id()
S
63 2 11
get_total_quiz_attempts_by_course_ids()
S
53 1 25
get_quiz_attempts()
S
54 1 24
get_qa_answer_by_question()
S
54 1 24
get_tutor_user()
S
56 1 24
get_total_students_by_instructor()
S
56 1 22
get_announcements()
S
56 1 22
get_wishlist()
S
55 1 22
get_total_enrolments()
S
56 1 21
most_popular_courses()
S
57 1 21
get_total_quiz_attempts()
S
56 1 20
get_course_count_by_instructor()
S
57 1 20
is_assignment_submitted()
S
57 1 19
is_assignment_submitting()
S
57 1 19
get_students()
S
56 1 19
get_course_contents_by_id()
S
58 1 18
tutor_get_screen_ids()
S
58 1 18
get_students_data_by_course_id()
S
58 1 18
get_lesson()
S
58 1 17
get_random_question_by_quiz()
S
58 1 17
is_started_quiz()
S
59 1 17
get_total_instructors()
S
57 1 17
get_total_students()
S
57 1 17
get_enrolled_courses_ids_by_user()
S
60 1 16
get_assignment_submit_info()
S
60 1 16
count_enrolled_users_by_course()
S
59 1 16
get_quiz_answers_by_attempt_id()
S
60 1 16
get_completed_courses_ids_by_user()
S
59 1 16
get_assigned_courses_ids_by_instructors()
S
59 1 16
is_completed_lesson()
S
65 2 9
instructor_register_url()
S
69 2 7
student_register_url()
S
69 2 7
is_html5_video()
S
65 2 9
course_edit_link()
S
66 2 8
get_video()
S
67 2 8
is_script_debug()
S
79 2 3
quiz_update_attempt_info()
S
64 2 8
reset_password()
S
64 2 8
is_course_fully_booked()
S
71 2 5
get_current_url()
S
64 2 10
get_user_withdraw_method()
S
67 2 8
str_split()
S
65 2 9
announcement_content()
S
64 2 10
course_enrol_status_change()
S
65 2 9
can_user_edit_course()
S
77 2 3
get_enrolled_statuses()
S
62 1 14
count_reviews_wrote_by_user()
S
61 1 14
get_edd_products()
S
61 1 14
get_course_id_by_content()
S
61 1 14
product_belongs_with_course()
S
61 1 14
get_course_count()
S
61 1 14
get_lesson_count()
S
61 1 14
get_course_contents_by_topic()
S
59 1 14
get_wc_products_db()
S
61 1 14
get_total_assignments()
S
62 1 13
get_courses_for_instructors()
S
61 1 13
total_questions_for_student_by_quiz()
S
61 1 13
get_next_topic_order_id()
S
62 1 13
get_assignments()
S
62 1 13
get_lessons_by_topic()
S
61 1 13
get_user_by_login()
S
63 1 12
get_topics()
S
62 1 12
get_quiz_id_by_question()
S
64 1 11
quiz_next_question_order_id()
S
63 1 11
dashboard_page_id()
S
73 1 5
get_lesson_reading_info()
S
70 1 6
tutor_dashboard_permalinks()
S
66 1 8
course_sub_pages()
S
68 1 7
array_get()
S
79 1 3
tutor_dashboard_url()
S
71 1 5
quiz_next_question_id()
S
71 1 5
is_course_enrolled_by_lesson()
S
70 1 6
get_course_categories_term()
S
65 1 9
help_tip()
S
80 1 3
quiz_attempt_info()
S
80 1 3
mark_lesson_complete()
S
68 1 7
get_optimized_duration()
S
82 1 3
get_student_emails_by_course_id()
S
79 1 3
has_wc()
S
80 1 3
is_instructor()
S
75 1 4
get_archive_page_course_count()
S
77 1 4
get_lesson_reading_info_full()
S
69 1 6
update_option()
S
72 1 5
order_status_context()
S
71 1 5
print_view()
S
74 1 5
get_course_settings()
S
69 1 6
get_item_content_drip_settings()
S
69 1 6
has_bp()
S
69 1 6
get_earnings_completed_statuses()
S
67 1 10
get_course_product_id()
S
72 1 5
get_gradebooks()
S
72 1 5
has_wcs()
S
69 1 6
get_course_id_by_assignment()
S
75 1 4
referer()
S
75 1 4
is_tutor_order()
S
79 1 3
price_type()
S
72 1 5
has_edd()
S
69 1 6
tutor_social_share_icons()
S
64 1 9